<p id="notice"><%= notice %></p>

<p>
  <b>Username:</b>
  <%= @member.username %>
</p>

<p>
  <b>Password:</b>
  <%= @member.password %>
</p>

<p>
  <b>Liked posts:</b>
  <ul>
    <% @member.posts.each do |post| %>
    <li> <%= link_to post.title, post %> </li>
    <% end %>
  </ul>
</p>

<p>
  <b>Tags vector:</b>
  <ul>
    <% @member.tags.each do |tag, cardinality| %>
    <li> <%= tag %> (<%= cardinality %>) </li>
    <% end %>
  </ul>
</p>

<%= link_to 'Edit', edit_member_path(@member) %> |
<%= link_to 'Back', members_path %>
